{% load i18n %}
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="keyword" content="宁强在线,宁强,宁强概况,宁强地图,宁强旅游,宁强特产,宁强新闻,宁强商家,宁强企业,宁强黄页,宁强二手信息,宁强房屋出租,宁强论坛交友">
    <title>{% block title %}宁强在线{% endblock %}</title>
    <link rel="icon" type="image/png" href="{{ STATIC_URL }}img/favicon.png">
    <link href="{{ STATIC_URL }}css/bootstrap.min.css" rel="stylesheet">
    <link href="{{ STATIC_URL }}css/bootcamp.css" rel="stylesheet">
    <link href="{{ STATIC_URL }}css/home.css" rel="stylesheet">
    <!--[if lt IE 9]>
      <script src="{{ STATIC_URL }}js/html5shiv.js"></script>
      <script src="{{ STATIC_URL }}js/respond.min.js"></script>
    <![endif]-->
    <script src="{{ STATIC_URL }}js/jquery-2.1.1.min.js"></script>
    <script src="{{ STATIC_URL }}js/bootstrap.min.js"></script>
    <script src="{{ STATIC_URL }}js/bootcamp.js"></script>
    <style>
      .carousel {
         padding-bottom: 40%;
         width: 100%;
         height: 0;
      }
      .carousel .item {
         width: 100%;
         height: 0;
         padding-bottom: 40%;
         overflow: hidden;
      }
      .carousel .item img {
        width: 100%;
      }
      #links a {

      }
      #links a:link {
        color:#85858C;
      }
      #links a:visited {
        color:#85858C;
      }
      #links a:hover {
        color:#00FF00;
        text-decoration:none;
      }
    </style>
  </head>
  <body style="background-color:#DDDDDD;padding-top:50px;padding-bottom:0px">
    {% block body %}
      <header>
        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
          <div class="container-fluid">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              <a class="navbar-brand" href="{% url 'home' %}">宁强在线</a>
            </div>
            <div class="collapse navbar-collapse" id="menu">
              <ul class="nav navbar-nav">
                {% if not hide_profile %}
                  <li>
                    <a href="#" id="notifications" data-container="body" data-toggle="popover" data-placement="bottom" title="{% trans 'Notifications' %}">
                      <span class="glyphicon glyphicon-bell"></span>
                    </a>
                  </li>
                {% endif %}
                <li><a href="{% url 'feeds' %}">{% trans 'Feed' %}</a></li>
                <li><a href="{% url 'articles' %}">{% trans 'Articles' %}</a></li>
                <li><a href="{% url 'questions' %}">{% trans 'Q&A' %}</a></li>
                <li><a href="{% url 'about' %}">{% trans 'About'%}</a></li>
              </ul>
              {% if not hide_search %}
                {% if not hide_profile %}
                <form class="navbar-form navbar-left" role="search" action="{% url 'search' %}">
                {% endif %}
                {% if hide_profile %}
                <form class="navbar-form navbar-left" role="search" action="{% url 'auth_login' %}">
                {% endif %}
                  <div class="input-group" style="width:210px">
                    <input type="text" class="form-control" name="q" placeholder="{% trans 'Search' %}">
                    <span class="input-group-btn">
                      <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
                    </span>
                  </div>
                </form>
              {% endif %}
              {% if hide_profile %}
                <ul class="nav navbar-nav navbar-right">
                  <li>
                    <a href="{% url 'auth_login' %}">登录</a>
                  </li>
                  <li>
                    <a href="{% url 'registration_register' %}">注册</a>
                  </li>
                </ul>
              {% endif %}
              {% if not hide_profile %}
                <ul class="nav navbar-nav navbar-right">
                  <li>
                    <a href="{% url 'profile' user.username %}">{{ user.profile.get_screen_name }}</a>
                  </li>
                  <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b class="caret"></b></a>
                    <ul class="dropdown-menu">
                      <li><a href="{% url 'inbox' %}"><span class="badge pull-right" id="unread-count">0</span> {% trans 'Inbox' %}</a></li>
                      <li><a href="{% url 'settings' %}">{% trans 'Account Settings' %}</a></li>
                      <li><a href="{% url 'list_orders' %}">我的订单</a></li>
                      <li class="divider"></li>
                      <li><a href="{% url 'logout' %}">{% trans 'Log out' %}</a></li>
                    </ul>
                  </li>
                </ul>
              {% endif %}
            </div>
          </div>
        </nav>
      </header>
      <main>
         <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
           <ol class="carousel-indicators">
             <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
             <li data-target="#carousel-example-generic" data-slide-to="1"></li>
             <li data-target="#carousel-example-generic" data-slide-to="2"></li>
             <li data-target="#carousel-example-generic" data-slide-to="3"></li>
             <li data-target="#carousel-example-generic" data-slide-to="4"></li>
           </ol>
           <div class="carousel-inner" role="listbox">
             <div class="item active">
               <img src="/media/ads/guanggao0.png" alt="...">
               <div class="carousel-caption">
                 <p></p>
               </div>
             </div>
             <div class="item">
               <img src="/media/ads/guanggao1.png" alt="...">
               <div class="carousel-caption">
                 <p></p>
               </div>
             </div>
             <div class="item">
               <img src="/media/ads/guanggao.png" alt="...">
               <div class="carousel-caption">
                 <p></p>
               </div>
             </div>
             <div class="item">
               <img src="/media/ads/guanggao.png" alt="...">
               <div class="carousel-caption">
                 <p></p>
               </div>
             </div>
             <div class="item">
               <img src="/media/ads/guanggao.png" alt="...">
               <div class="carousel-caption">
                 <p></p>
               </div>
             </div>
           </div>

         <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
           <span class="glyphicon glyphicon-chevron-left"></span>
           <span class="sr-only">前一页</span>
         </a>
         <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
           <span class="glyphicon glyphicon-chevron-right"></span>
           <span class="sr-only">后一页</span>
         </a>
        </div>
      </main>
    <div class='container' style="padding-top:50px;">
      <div class="featurette">
        <div class="row">
          <div class="col-md-8 col-sm-8 col-md-push-4 col-sm-push-4">
            <h2 class="featurette-heading">宁强人自己的手机APP</h2>
            <p class="lead">移动互联网时代，俺们怎敢不与时俱进！小伙伴们，快来下载玩玩吧~ 苹果应用商店正在审核，土豪朋友们稍等片刻～<a target="_blank" href="{{ MEDIA_URL}}ads/nqzx.apk">点击下载安卓版&gt;&gt;</a></p>
          </div>
          <div class="col-md-4 col-sm-4 col-md-pull-8 col-sm-pull-8">
            <div class="featurette-img">
              <img src="{{ MEDIA_URL }}ads/mobileapp.png"
              style="height:250px;width:150px;"\>
            </div>
          </div>
        </div>
        <hr class="featurette-divider">
      </div>
      <div class="featurette">
        <div class="row">
          <div class="col-md-8">
            <h2 class="featurette-heading">发布信息不求人</h2>
            <p
            class="lead">宁强在线公告板是一个分类的便民信息发布板块，用户注册后即可免费的发布便民信息。注册步骤简单，无须短信和邮件验证，支持中文用户名。密码请不要和其他网站设置成一样的密码，以免泄露！<a target="_blank" href="{% url 'registration_register' %}">点击注册&gt;&gt;</a></p>
          </div>
          <div class="col-md-4">
            <div class="featurette-img">
                <img src="{{ MEDIA_URL }}ads/banner0.png">
            </div>
          </div>
        </div>
        <hr class="featurette-divider">
      </div>

      <div class="featurette">
        <div class="row">
          <div class="col-md-8 col-md-push-4">
            <h2 class="featurette-heading">查找信息简单<span class="text-muted">分类+搜索</span></h2>
            <p
            class="lead">两种方式让信息查找更加简单，避免朋友圈被广告刷屏，分分钟找到自己想要的信息！一是分类浏览，点击公告板上对应的分类即可筛选对应分类的信息；二是搜索，在页面上方的搜索框内输入关键字，点击搜索图标即可快速定位到包含关键字的信息！<a target="_blank" href="/feeds/">查看分类&gt;&gt;</a></p>
          </div>
          <div class="col-md-4 col-md-pull-8">
            <div class="featurette-img">
              <img src="{{ MEDIA_URL }}ads/banner1.png">
            </div>
          </div>
        </div>
        <hr class="featurette-divider">
      </div>
      
      <div class="featurette">
        <div class="row">
          <div class="col-md-8">
            <h2 class="featurette-heading">宁强百科<span class="text-muted"></span></h2>
            <p
            class="lead">遇到问题怎么办？在宁强百科上找答案或者把你的问题张贴出来让热心的网友们帮你回答！你可以采纳一个人的答案为正确答案，也可以赞成或者反对某个答案，还可以给自己喜欢的问题和答案点赞哦！<a href="/questions/">了解更多&gt;&gt;</a></p>
          </div>
          <div class="col-md-4">
            <div class="featurette-img">
              <img src="{{ MEDIA_URL }}ads/banner2.png">
            </div>
          </div>
        </div>
      </div>
      <!-- /END THE FEATURETTES -->
    </div>

<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<footer style="padding-top:50px;padding-bottom:10px;background-color:#3E3D49;color:#FFFFFF">
    <div id="links"> 
      <div class="container-fluid">
            <div class="row">
                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-3" style="text-align:left">
                  <table align="center">
                    <tr><td><h4><b>友情链接</b></h4></td></tr>
                    <tr><td><a target="_blank" href="http://www.nq.gov.cn/">宁强县人民政府网</a></td></tr>
                    <tr><td><a target="_blank" href="http://www.nqyz.org/">宁强县天津中学</a></td></tr>
                    <tr><td><a target="_blank" href="http://tieba.baidu.com/f?kw=%E5%AE%81%E5%BC%BA&ie=utf-8">宁强吧</a></td></tr>
                    <tr><td><a target="_blank" href="http://www.hanzhong123.com/">汉中城市在线</a></td></tr>
                    <tr><td><a target="_blank" href="http://www.job916.com/">汉中人才网</a></td></tr>
                    <tr><td><a target="_blank" href="http://www.0916fc.com">汉中房产网</a></td></tr>
                  </table>
                </div>
                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-3" style="text-align:left">
                  <table align="center">
                    <tr><td><h4><b>合作伙伴</b></h4></td></tr>
                    <tr><td><a target="_blank" href="http://www.nqjyw.cn/">宁强教研网</a></td></tr>
                    <tr><td><a target="_blank" href="http://hznqedu.com/">宁强教育网</a></td></tr>
                    <tr><td><a target="_blank" href="http://huizhaofang.com/">会找房</a></td></tr>
                  </table>
                </div>
                <div class="col-lg-4 col-md-4 col-sm-4 col-xs-6" style="text-align:left">
                  <table align="center">
                    <tr><td><h4><b>联系我们</b></h4></td></tr>
                    <tr><td><a target="_blank" href="http://tieba.baidu.com/home/main?un=%C4%FE%C7%BFOnline&fr=home">百度贴吧</a></td></tr>
                    <tr><td><a target="_blank" href="http://weibo.com/kelvinxupt">新浪微博</a></td></tr>
                    <tr><td><b>QQ:</b> <i>275581187</i></td></tr>
                    <tr><td><b>电话:</b> <i>15313160405</i></td></tr>
                    <tr><td><b>邮箱:</b> <i>kelvin_xupt@yeah.net</i></td></tr>
                    <tr><td><b>微信号:</b> <i>nqwsb666</i></td></tr>
                    <tr><td><b>微信公众号:</b> <i>宁强微生活</i></td></tr>
<!--                    <tr><td><img style="height:100px;width:100px;" src="/media/ads/qrcode.jpg" alt="" /></td></tr> -->
                  </table>
                </div>
            </div>
            <!--/.row-->
      </div>
        <div class="copy-right-content">
          <span>
              <center>
                  <i>© 2015 宁强生活通广告传媒有限公司,版权所有<br/><a
                          href="http://www.miitbeian.gov.cn/publish/query/indexFirst.action"
                          target="_blank">陕ICP备15014586号-1</a>
                  </i>
              </center>
          </span>
        </div>
    </div>
<!--/.footer-->
</footer>
      <script src="{{ STATIC_URL }}js/notifications.js"></script>
      <script src="{{ STATIC_URL }}js/check_messages.js"></script>
    {% endblock body %}
  </body>
</html>
